#include <iostream>
using namespace std;

class Doc
{
	private : 
		string m_name;
		string m_path;
		string m_date;
		int count_t;
	public :
		Doc(string name, string path, string date);
		void display(void);
		string set_name(string name);
		void get_name(void);
		void get_count(void);

	protected : 
};

Doc :: Doc(string name, string path, string date)
{
	m_name = name;
	m_path = path;
	m_date = date;
}

void Doc :: display(void)
{
	cout << "Name : " << m_name << endl;
	cout << "Path : " << m_path << endl;
	cout << "Date : " << m_date << endl;
}

string Doc :: set_name(string name)
{
	return m_name = name;
}

void Doc :: get_name(void)
{
	cout << "Get the name of doc : " << m_name << endl;
}

void Doc :: get_count(void)
{
	cout << "The count of doc : " << count_t << endl;
}

int main()
{
	Doc d("c++.doc", "/D:/myC++work/homework", "2016 - 5 - 24");

	d.display();

//	d.set_name("c++1.doc");
	d.get_name();

}
